<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'id'); ?>
		<?php echo $form->textField($model,'id'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'idUsuarioFB'); ?>
		<?php echo $form->textField($model,'idUsuarioFB',array('size'=>20,'maxlength'=>20)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'nomeUsuarioFB'); ?>
		<?php echo $form->textField($model,'nomeUsuarioFB',array('size'=>60,'maxlength'=>60)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'tipoUsuario'); ?>
		<?php echo $form->dropDownList($model,'tipoUsuario',CHtml::listData(TipoUsuario::model()->findAll(), 'id', 'descricao'), array('empty'=> '--Selecione uma opção--')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'email'); ?>
		<?php echo $form->textField($model,'email',array('size'=>60,'maxlength'=>80)); ?>
	</div>

<!--	<div class="row">
		<?php //echo $form->label($model,'senha'); ?>
		<?php //echo $form->textField($model,'senha',array('size'=>16,'maxlength'=>16)); ?>
	</div>-->

	<div class="row">
		<?php echo $form->label($model,'newsletter'); ?>
		<?php echo $form->checkBox($model,'newsletter'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'status'); ?>
		<?php echo $form->dropDownList($model,'status', array('A' => 'Ativo', 'B' => 'Banido', 'S' => 'Suspenso') ,array('empty'=> '--Selecione uma opção--')); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Buscar'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->
